﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Ourmsg.Enum;

namespace  P
{
    /// <summary>
    /// 登录信息
    /// </summary>
    public class LoginInfo
    {
        public LoginInfo()
        {

        }
        /// <summary>
        /// 用户帐号
        /// </summary>
        public string UserID
        { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName
        { get; set; }
        /// <summary>
        /// 用户密码
        /// </summary>
        public string Password
        { get; set; }
        /// <summary>
        /// 头像索引
        /// </summary>
        public Int32 HeadID
        { get; set; }
        /// <summary>
        /// 是否自定义头像索引
        /// </summary>
        public bool IsCustomHead
        { get; set; }
        /// <summary>
        /// 是否自动登录
        /// </summary>
        public bool IsAutoLogin
        { get; set; }
        /// <summary>
        /// 是否存入密码
        /// </summary>
        public bool IsSavePassword
        { get; set; }

        ShowType _ShowType = ShowType.NONE;
        /// <summary>
        /// 在线状态类型
        /// </summary>
        public ShowType ShowType
        {
            set { _ShowType = value; }
            get { return _ShowType; }
        }
    }
}
